from django.test import TestCase

# Create your tests here.

def get_func(name):
    def func1():
        print("func1")
    def func2():
        print("func2")

    if name == "func1":
        return func1
    elif name =="func2":
        return func2
    else:
        return None

print("- model: IM.authuser\n  pk: 1\n  fields:\n    password: pbkdf2_sha256$100000$01wSbF4iMA0D$rCwiHXRBUr0hXcsCY6791w/flyFuairAd7alSG3W0fQ=\n    last_login: 2018-09-06 05:15:33.674639+00:00\n    is_superuser: true\n    username: admin\n    first_name: ''\n    last_name: ''\n    email: sonto.lau@gmail.com\n    is_staff: true\n    is_active: true\n    date_joined: 2018-09-05 08:37:56+00:00\n    avatar: law.jpg\n    token: 7ee4307b0bee4a83ba9af965b87408ef\n    is_online: false\n    groups: []\n    user_permissions: []\n- model: IM.authuser\n  pk: 2\n  fields:\n    password: pbkdf2_sha256$100000$XffpWH9lJ5Ht$OscMXhYxZ19imBig0tTAj+V7wKVSNCaQIkX/YElUDvk=\n    last_login: 2018-09-06 08:44:57.659603+00:00\n    is_superuser: false\n    username: jim\n    first_name: ''\n    last_name: ''\n    email: sonto.lau@gmail.com\n    is_staff: false\n    is_active: true\n    date_joined: 2018-09-06 08:43:25.349130+00:00\n    avatar: ''\n    token: 7f8628edaf5446bb94acdb1e673559bb\n    is_online: false\n    groups: []\n    user_permissions: []\n- model: IM.authuser\n  pk: 4\n  fields:\n    password: pbkdf2_sha256$100000$9dKtDt09lXr4$IWBK6JHX5CeQWNrbbE4itn1v46RJRziqeSEajF81kw8=\n    last_login: null\n    is_superuser: false\n    username: bob\n    first_name: ''\n    last_name: ''\n    email: sonto.lau@gmail.com\n    is_staff: false\n    is_active: true\n    date_joined: 2018-09-06 09:03:57.790714+00:00\n    avatar: law_LCeh71e.jpg\n    token: 808954bad7864966ac42e7ea1df75d45\n    is_online: false\n    groups: []\n    user_permissions: []\n- model: IM.authuser\n  pk: 5\n  fields:\n    password: pbkdf2_sha256$100000$Ih4pre5iANLI$1K8LuxipGlFAwRyZS0GlTfWNIHux/IJHoVNJOdMW/VI=\n    last_login: 2018-09-06 10:39:04.218430+00:00\n    is_superuser: false\n    username: jason\n    first_name: ''\n    last_name: ''\n    email: sonto.lau@gmail.com\n    is_staff: false\n    is_active: true\n    date_joined: 2018-09-06 09:16:34.222615+00:00\n    avatar: law3.jpg\n    token: 282b6ee5ebf64f11bf775bde74e6a77f\n    is_online: false\n    groups: []\n    user_permissions: []\n")